<!--关于系统  -->

<template>
  <div class="about">
    <el-row justify="center">
      <el-col class="about-list" :span="16">
        <h1>MyAiAssistant</h1>
        <el-card class="personal-intro">
          <template #header>
            <div class="card-header">
              <span>System Introduction</span>
            </div>
          </template>
          <div class="content">
            <p>Welcome to MyAiAssistant, developed by JekingXu. This is a comprehensive AI assistant platform that integrates multiple AI models including X.AI, GeminiAI, SparkAI, ErnieAI, and ChatGPT.</p>
            <p>This system provides an intuitive interface for interacting with various AI models, allowing users to leverage different AI capabilities for their specific needs.</p>
          </div>
        </el-card>

        <el-card class="features-card">
          <template #header>
            <div class="card-header">
              <span>Features</span>
            </div>
          </template>
          <el-descriptions :column="1" border>
            <el-descriptions-item label="Multiple AI Models">X.AI, GeminiAI, SparkAI, ErnieAI, ChatGPT Integration</el-descriptions-item>
            <el-descriptions-item label="User Interface">Clean and intuitive Element Plus based UI</el-descriptions-item>
            <el-descriptions-item label="Customization">Flexible template system for different needs</el-descriptions-item>
            <el-descriptions-item label="Response">Real-time AI interaction and responses</el-descriptions-item>
          </el-descriptions>
        </el-card>

        <el-card class="developer-card">
          <template #header>
            <div class="card-header">
              <span>Developer Information</span>
            </div>
          </template>
          <el-descriptions :column="1" border>
            <el-descriptions-item label="Developer">JekingXu</el-descriptions-item>
            <el-descriptions-item label="Contact">contact@jekingxu.com</el-descriptions-item>
            <el-descriptions-item label="GitHub">github.com/JekingXu</el-descriptions-item>
          </el-descriptions>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<style lang="scss" scoped>
.about {
  padding: 0px;
  margin: 0 auto;
  overflow-y: auto;

  .about-list {
    max-width: 1200px;
    max-height: 110vh;

    margin: 0 auto;
    padding: 0px;
    overflow-y: scroll;
    margin-bottom: 100px;
    padding-bottom: 200px;

    /* 纵向滚动条 */
    &::-webkit-scrollbar {
      width: 2px;
      /* 仅设置宽度，针对纵向滚动条 */
    }

    /* 滚动条轨道 */
    &::-webkit-scrollbar-track {
      background: #f0f0f08f;
      border-radius: 4px;
    }

    /* 滑块 */
    & ::-webkit-scrollbar-thumb {
      background: #888888a0;
      border-radius: 4px;
    }

    /* 滑块悬停效果 */
    & ::-webkit-scrollbar-thumb:hover {
      background: #555;
    }


    h1 {
      color: #003366;
      text-align: center;
      margin-bottom: 20px;
    }

    .el-card {
      margin-bottom: 20px;
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0;

      span {
        font-size: 16px;
        font-weight: bold;
        color: #003366;
      }
    }

    .content {
      p {
        margin-bottom: 14px;
        line-height: 1.5;
        color: #333;
        font-size: 12px;
      }
    }

    .el-descriptions {
      margin: 10px 0;
    }
  }

  :deep(.el-descriptions__label) {
    background-color: #f5f7fa;
    color: #003366;
    font-weight: bold;
  }

  :deep(.el-descriptions__content) {
    line-height: 1.4;
  }

  


}
</style>
